package service;

import pojo.Page;
import pojo.SysUser;

import java.util.List;

public interface SysUserService {
    SysUser login(String account, String password);
    List<SysUser> selectUserList(String realName, Integer roleId, Page page);
    boolean getPwdTrue(SysUser sysUser,String password);
    int updatePwd(SysUser sysUser,String newpassword);
    int add(SysUser sysUser);
    SysUser getAccountExist(String account);
}
